package com.czy.server;

import lombok.Getter;
import lombok.Setter;

import java.util.HashMap;
import java.util.Map;

/**
 * @author czy
 * @date 2021-5-26 17:32
 */
@Getter
@Setter
public class ServletContext {
    private Map<String,String> servlet;//key是servlet-name  (Entity中的name),值serlvet-class Entity中的clazz
    private Map<String,String> mapping;//key是url-pattern (Mapping中的List集合中的每一个元素),value是serlvet-name,是Mapping中的name

    public ServletContext() {
        servlet=new HashMap<String,String>();
        mapping=new HashMap<String,String>();
    }
}
